[Meta]
Type = "SM_UPS_003"
Vendor =ЭФФЕКТ-Л
Driver = "Резервированный источник питания"
Timeout = 5
Attempts = 3
SlaveID = "SM_UPS_003 v1.0"

[T0]
FunctionCode =7
Group =0
Comment = "Контроль связи"
Response = % 00

[T1]
FunctionCode =4
Group =0
Comment = "Контроль типа устройства"
Request =00 D2 00 01
Response =02 17 02

[T2]
FunctionCode =4
Group =0
Comment ="Контроль версии ПО"
Request =00 D3 00 01
Response =02 00 01

[T3]
FunctionCode =34
Group = 1
Comment ="Цикл обмена"
Response= % 00 00 00 00 00 00

[Tag0]
Name = "Upsu"
Transaction = 3
Offset = I0
Size = 8
Comment = "Напряжение DC/DC"
Type = Аналоговый
ScaleEnable = 1
MachLow = 0
MachHigh = 255
PhysLow = 0
PhysHigh = 37,68
Units = "V"

[Tag1]
Name = "Ubat"
Transaction = 3
Offset = I8
Size = 8
Comment = "Напряжение на аккумуляторе"
Type = Аналоговый
ScaleEnable = 1
MachLow = 0
MachHigh = 255
PhysLow = 0
PhysHigh = 37,68
Units = "V"

[Tag2]
Name = "t"
Transaction = 3
Offset = I32
Size = 8
Comment = "Температура в шкафу"
Type=Аналоговый
ScaleEnable = 1
MachLow = 0
MachHigh = 255
PhysLow = -50
PhysHigh = 358
Units = "C"

[Tag3]
Name = "Режим работы"
Transaction = 3
Offset = I41
Size = 1
Comment = "Режим работы"
Type = Режим_шкафа
Enum = ""СЕТЬ", "АККУМУЛЯТОР""

[Tag4]
Name = "Аккумулятор"
Transaction = 3
Offset = I42
Size = 3
Comment = "Статус батареи"
Type = Аккумулятор
Enum = ""НОРМА", "ЗАРЯДКА", "РАЗРЯДКА", "РАЗРЯЖЕН", "СНЯТ""

[Tag5]
Name = "Тампер"
Transaction = 3
Offset = I40
Size = 1
Comment = "Датчик открытия шкафа"
Type = Тампер
Enum = ""ЗАКРЫТ", "ОТКРЫТ""

[Tag6]
Name = "Температура"
Transaction = 3
Offset = I45
Size = 2
Comment = "Температура"
Type = Температура_шкафа
Enum=""НОРМА", "НИЗКАЯ", "ПОВЫШЕННАЯ", "ПЕРЕГРЕВ""